package io.renren.modules.medical.vo.medicalVo;

import io.renren.modules.medical.validator.EnumValue;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author Luo Sheng
 * @school YiBin university
 * @create 2023-04-13 17:30
 */
@Data
public class StatusVo {
    @NotNull(message = "id不能为空")
    private Long id;
    @EnumValue(intValues = {0, 1, 2, 3}, message = "修改状态时，status必须为指定值")
    private Integer status;
}

